package com.aolong.archives.core.sysmanage.dao;

import com.aolong.archives.core.sysmanage.entity.UserEntity;
import com.rock.platform.dao.IBaseDao;
import com.rock.platform.entity.ActionParamsEntity;
import com.rock.platform.entity.PageEntity;

public interface IUserDao extends IBaseDao{
	
	public UserEntity findByLoginName(String loginName);
	
	public PageEntity findAll(ActionParamsEntity actionParams);
	
	public PageEntity findByRoleId(String roleId, ActionParamsEntity actionParams);
	
	public int disabled(Object[] ids);

	public int activate(Object[] ids); 
	
	public int remove(Object[] ids);
	
	public int modifyPassword(String password, String id);
	
	public int resetPassword(String password, Object[] ids);
}
